<?php

DEFINE ('DB_USER', 'root');
DEFINE ('DB_PASSWORD', 'php');
DEFINE ('DB_HOST', 'localhost');
DEFINE ('DB_NAME', 'db_timetables');

$dbc = @mysqli_connect (DB_HOST, DB_USER, DB_PASSWORD, DB_NAME) OR die ('Could not connect to
MySQL: ' . mysqli_connect_error( ) );

//encoding...
mysqli_set_charset($dbc, 'utf8');